package score;

import java.util.List;

/**
 *
 * @author Thorsten Ludwig
 */
public class TaskCategoryContainer {
    
    private boolean hasRequirement;
    
    private double sum;
    
    private double percent;
    
    private String name;
    
    private List<SheetContainer> tasks;

    public TaskCategoryContainer(boolean hasRequirement, double sum, double percent, String name, List<SheetContainer> tasks) {
        this.hasRequirement = hasRequirement;
        this.sum = sum;
        this.percent = percent;
        this.name = name;
        this.tasks = tasks;
    }

    public boolean isHasRequirement() {
        return hasRequirement;
    }

    public void setHasRequirement(boolean hasRequirement) {
        this.hasRequirement = hasRequirement;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPercent() {
        return percent;
    }

    public void setPercent(double percent) {
        this.percent = percent;
    }

    public double getSum() {
        return sum;
    }

    public void setSum(double sum) {
        this.sum = sum;
    }

    public List<SheetContainer> getTasks() {
        return tasks;
    }

    public void setTasks(List<SheetContainer> tasks) {
        this.tasks = tasks;
    }
}
